from flask import Flask
from flask import request

app = Flask(__name__)

@app.route('/params',methods=['POST'])

def params():
    user_name = request.args['userName']
    pwd = request.args['PWD']
    return '您好，%s!欢迎使用POST接口进行接口mock验证！'%(user_name)


if __name__ == '__main__':
    app.run('127.0.0.1',5006,debug=True)